<%--
  Created by IntelliJ IDEA.
  User: hai'yi'xuan
  Date: 2025/1/20
  Time: 10:20d
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>Title</title>
    <script src="${pageContext.request.contextPath}/js/jquery-1.8.0.min.js"></script>

</head>
<script>

</script>
<body>
<div class="box" align="center">

    <table  id="table" style="text-align:center;vertical-align:middle;" class="color-picker-label" border="1">
        <tr style="background-color: #c3c3c3;height: 35px" id="my_tr">
            <th width="160px">花卉编号</th>
            <th width="160px">花卉名称</th>
            <th width="160px">花卉别名</th>
            <th width="160px">科属</th>
            <th width="160px">价格</th>
            <th width="160px">原产地</th>
        </tr>
        <c:forEach var="stu" items="${requestScope.list}">
            <tr>
                <td>${stu.id}</td>
                <td>${stu.name}</td>
                <td>${stu.anothername}</td>
                <td>${stu.property}</td>
                <td>${stu.price}</td>
                <td>${stu.production}</td>
            </tr>
        </c:forEach>
    </table>
    <div>
        <a href="javascript:home()">首页</a>&nbsp;&nbsp;&nbsp; <a href="javascript:per()">上一页</a>&nbsp;&nbsp;&nbsp <a
            href="javascript:next()">下一页</a>&nbsp;&nbsp;&nbsp
        <a href="javascript:last()">末页</a>&nbsp;&nbsp;&nbsp <span>第<span id="currentPageNo"></span>页/
        共<span>${requestScope.totalPageCount}</span>页</span>
    </div>
    <input type="hidden" id="curPage" value="1">
    <input type="hidden" id="pageSize" value="3">
    <input type="hidden" id="pageSizeCount" value="0">
</div>
</body>
</html>
